package com.conti.mapper.prod;

import com.conti.entity.Department;
import com.conti.entity.Group;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentMapper {

    /**
     * 根据empno/line_leader查询产线部门信息
     * @param empno
     * @return
     */
    List<Department> list(String empno);


    /**
     * 查询产线group
     * @param empno
     * @return
     */
    List<Group> groupList(String empno);
}
